package com.zhenwei.zscm.mappings;

import com.zhenwei.zscm.entity.ApiInfoEntity;
import com.zhenwei.zscm.model.dto.apiInfo.ApiInfoDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ApiInfoMapping {
    ApiInfoMapping INSTANCE = Mappers.getMapper(ApiInfoMapping.class);
    ApiInfoEntity dto2Entity(ApiInfoDTO dto);
    ApiInfoDTO entity2Dto(ApiInfoEntity e);
}
